package com.ruoyi.equipment.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.equipment.mapper.EquipmentDetectionReportMapper;
import com.ruoyi.equipment.domain.EquipmentDetectionReport;
import com.ruoyi.equipment.service.IEquipmentDetectionReportService;

/**
 * 【请填写功能名称】Service业务层处理
 * 
 * @author ruoyi
 * @date 2022-12-14
 */
@Service
public class EquipmentDetectionReportServiceImpl implements IEquipmentDetectionReportService 
{
    @Autowired
    private EquipmentDetectionReportMapper equipmentDetectionReportMapper;

    /**
     * 查询【请填写功能名称】
     * 
     * @param id 【请填写功能名称】主键
     * @return 【请填写功能名称】
     */
    @Override
    public EquipmentDetectionReport selectEquipmentDetectionReportById(Long id)
    {
        return equipmentDetectionReportMapper.selectEquipmentDetectionReportById(id);
    }

    /**
     * 查询【请填写功能名称】列表
     * 
     * @param equipmentDetectionReport 【请填写功能名称】
     * @return 【请填写功能名称】
     */
    @Override
    public List<EquipmentDetectionReport> selectEquipmentDetectionReportList(EquipmentDetectionReport equipmentDetectionReport)
    {
        return equipmentDetectionReportMapper.selectEquipmentDetectionReportList(equipmentDetectionReport);
    }

    /**
     * 新增【请填写功能名称】
     * 
     * @param equipmentDetectionReport 【请填写功能名称】
     * @return 结果
     */
    @Override
    public int insertEquipmentDetectionReport(EquipmentDetectionReport equipmentDetectionReport)
    {
        return equipmentDetectionReportMapper.insertEquipmentDetectionReport(equipmentDetectionReport);
    }

    /**
     * 修改【请填写功能名称】
     * 
     * @param equipmentDetectionReport 【请填写功能名称】
     * @return 结果
     */
    @Override
    public int updateEquipmentDetectionReport(EquipmentDetectionReport equipmentDetectionReport)
    {
        return equipmentDetectionReportMapper.updateEquipmentDetectionReport(equipmentDetectionReport);
    }

    /**
     * 批量删除【请填写功能名称】
     * 
     * @param ids 需要删除的【请填写功能名称】主键
     * @return 结果
     */
    @Override
    public int deleteEquipmentDetectionReportByIds(Long[] ids)
    {
        return equipmentDetectionReportMapper.deleteEquipmentDetectionReportByIds(ids);
    }

    /**
     * 删除【请填写功能名称】信息
     * 
     * @param id 【请填写功能名称】主键
     * @return 结果
     */
    @Override
    public int deleteEquipmentDetectionReportById(Long id)
    {
        return equipmentDetectionReportMapper.deleteEquipmentDetectionReportById(id);
    }
}
